package pers.twf.example;

import org.springframework.stereotype.Service;
import pers.twf.example.common.model.User;
import pers.twf.example.common.service.UserService;
import pers.twf.twfrpc.springboot.starter.annotation.RpcService;

/**
 * 用户服务实现类
 */
@Service
@RpcService
public class UserServiceImpl implements UserService {
    @Override
    public User getUser(User user) {
        System.out.println("SpringBoot测试 用户名："+user.getName());
        return user;
    }
}
